<?php

use think\facade\Route;

/**
 * 工具端
 */
Route::group('tool', function () {
    /**
     * 不需要登录的模块
     */
    Route::group('login', function () {
        Route::get('/', 'AuthController@login'); //登录页面
        Route::post('/', 'AuthController@loginIn'); //登录
        Route::delete('/', 'AuthController@loginOut'); //退出
    });
    Route::get('/captcha', 'AuthController@getCaptcha');

})->prefix('app\http\Controllers\Tool\\');